<template>
    <div>
        <img :src="v.url" alt="" width="100%">
        <h3>{{v.name}}</h3>
        <h5 style="color: red;">￥{{v.price}}</h5>
    </div>
</template>

<script setup>
import {useRoute} from 'vue-router'
let route=new useRoute()
const v=route.query
console.log(route.query)
</script>

<style lang="scss" scoped>

</style>